package com.suker.jvm.hotspot.demo;

public class TestJava extends Object{

    public TestJava() {
        System.out.println("执行TestJava默认构造");
    }


    private int a;

    public void add(int a) {
        a += a;
    }

    public void out() {
        System.out.println("你好呀，哈哈哈哈");
    }

    public static void main(String[] args) {
        //int a = 0;
        //String b = "你好";
        //System.out.printf("hellow %s %s\n", a,b);
        //System.out.println(a);
        //System.out.println("hello word");
        //int b = a;
        //System.out.println(b);
        TestJava testJava = new TestJava();
        testJava.out();
        testJava.out();
    }

}
